package com.tbit.uqbike.client.dao.log;

import com.tbit.uqbike.client.pojo.newEntity.PhotoUploadLog;

/**
 * @Author: chen
 * @Description: 拍照还车日志
 * @Date: 创建于 13:43 2023/8/3
 */
public interface PhotoUploadLogDao {

    void insert(PhotoUploadLog photoUploadLog);

    void edit(PhotoUploadLog photoUploadLog);

    /**
     * 通过订单编号获取最新的拍照记录
     *
     * @param orderNO
     * @return
     */
    PhotoUploadLog getByOrderNO(String orderNO);

    /**
     * 查询还车次数
     * @param orderNO
     * @return
     */
    Integer getCount(String orderNO);
}
